package com.bjpowernode.mvc.service.inter;

import com.bjpowernode.db.domain.HeaderImage;
import com.bjpowernode.mvc.model.dto.SaveHeaderImageDTO;
import com.bjpowernode.mvc.model.dto.UploadFileDTO;

public interface UploadFileService {
    //上传文件到FastDFS
    void uploadFileDFS(UploadFileDTO uploadFileDTO);

    SaveHeaderImageDTO insertOrUploadFile(UploadFileDTO uploadFileDTO);

    int deleteFileDFS(String group, String fileId);

    HeaderImage queryByUid(Integer uid);
}
